export const detailPanelStyles = `
  body { 
    font-family: var(--vscode-font-family); 
    padding: 20px; 
    background: var(--vscode-editor-background); 
    color: var(--vscode-editor-foreground); 
  }
  
  .header { 
    border-bottom: 1px solid var(--vscode-panel-border); 
    padding-bottom: 15px; 
    margin-bottom: 20px; 
  }
  
  .title { 
    font-size: 20px; 
    font-weight: bold; 
    margin-bottom: 5px; 
    color: var(--vscode-textLink-foreground); 
  }
  
  .meta { 
    font-size: 12px; 
    color: var(--vscode-descriptionForeground); 
    margin-bottom: 10px;
  }
  
  /* 标签样式 */
  .tags-section {
    margin-bottom: 10px;
  }
  
  .tags-label {
    font-size: 13px;
    color: var(--vscode-symbolIcon-propertyForeground);
    margin-bottom: 5px;
    font-weight: 500;
  }
  
  .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .tag-item {
    display: inline-flex;
    align-items: center;
    background: var(--vscode-badge-background);
    color: var(--vscode-badge-foreground);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid var(--vscode-badge-background);
    cursor: default;
    transition: all 0.2s ease;
  }
  
  .tag-item:hover {
    background: var(--vscode-button-hoverBackground);
    border-color: var(--vscode-focusBorder);
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
  
  .tags-empty {
    font-size: 12px;
    color: var(--vscode-descriptionForeground);
    font-style: italic;
    opacity: 0.8;
  }
  
  /* 内容区域样式 */
  .section { 
    margin-bottom: 25px; 
  }
  
  .section-title { 
    font-size: 16px; 
    font-weight: bold; 
    margin-bottom: 10px; 
    color: var(--vscode-symbolIcon-propertyForeground);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .content { 
    background: var(--vscode-textBlockQuote-background); 
    padding: 15px; 
    border-radius: 6px; 
    border-left: 3px solid var(--vscode-textLink-foreground); 
    white-space: pre-wrap; 
    font-family: var(--vscode-editor-font-family);
    line-height: 1.6;
  }
  
  .code-snippet { 
    background: var(--vscode-textCodeBlock-background); 
    padding: 0;
    margin: 0;
    border-radius: 6px; 
    font-family: var(--vscode-editor-font-family); 
    font-size: var(--vscode-editor-font-size); 
    overflow-x: auto; 
    border: 1px solid var(--vscode-panel-border); 
    white-space: pre;
    line-height: 1.4;
    max-height: 400px;
    overflow-y: auto;
  }
  
  .code-snippet code {
    display: block;
    padding: 15px;
    margin: 0;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: var(--vscode-editor-foreground);
    white-space: inherit;
    tab-size: 2;
    -moz-tab-size: 2;
    word-break: normal;
    overflow-wrap: normal;
  }
  
  .file-info { 
    font-size: 12px; 
    color: var(--vscode-descriptionForeground); 
    margin-bottom: 8px;
    padding: 8px 12px;
    background: var(--vscode-textBlockQuote-background);
    border-radius: 4px;
    border-left: 3px solid var(--vscode-descriptionForeground);
  }
  
  /* 响应式优化 */
  @media (max-width: 600px) {
    .tags-container {
      gap: 4px;
    }
    
    .tag-item {
      font-size: 11px;
      padding: 3px 6px;
      max-width: 120px;
    }
    
    .content {
      padding: 12px;
    }
    
    .code-snippet {
      max-height: 250px;
    }
    
    .code-snippet code {
      padding: 10px;
      font-size: 11px;
    }
  }
`
